home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / NDK / NDK_3.1 / Examples1 / locale / helloworld / smakefile < prev   
Encoding:
Makefile  |  1996-02-12  |  707 b   |  26 lines

  1. .cd.o:
  2.     CatComp $< OBJFILE $>_strings.o
  3.  
  4. .cd.h:
  5.     CatComp $< CFILE $>_strings.h
  6.  
  7. CFLAGS = structureequivalence nostackcheck
  8. LFLAGS = smallcode smalldata nodebug noicons
  9. STARTUP = lib:c.o
  10. LIBS = lib:sc.lib lib:amiga.lib
  11.  
  12. all: helloworld helloworld.catalog
  13.  
  14. helloworld: helloworld.o helloworld_strings.o
  15.     slink $(STARTUP) helloworld.o helloworld_strings.o to $@ lib $(LIBS) $(LFLAGS)
  16.  
  17. helloworld.o: helloworld.c helloworld_strings.h
  18. helloworld_strings.h: helloworld.cd
  19. helloworld_strings.o: helloworld.cd
  20.  
  21. helloworld.catalog: helloworld.cd helloworld.ct
  22.     CatComp helloworld.cd helloworld.ct CATALOG helloworld.catalog
  23.     -Makedir catalogs
  24.     -Makedir catalogs/fran\çais
  25.     Copy helloworld.catalog catalogs/fran\çais
  26.